package com.alibaba.citrus.cr.unified.inventory.functions.allocateRelation;

import com.epoch.app.crunifiedinventory.dto.request.CreateAllocateRelationRequest;
import com.epoch.app.crunifiedinventory.sdo.AllocateRelationSDO;

public class AllocateRelationFactory {

    public static AllocateRelationEntity createAllocateRelation(CreateAllocateRelationRequest allocateOrderCreateRequest) {
        AllocateRelationSDO allocateRelationSDO= allocateOrderCreateRequest.getAllocateRelationSDO();
            AllocateRelationEntity forecastOrderEntity = AllocateRelationEntity.of(allocateRelationSDO);
        return forecastOrderEntity;
    }
}
